home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-04-06 | 6.1 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Apr 6 14:04:27 1995, modified Thu Apr 6 14:04:27 1995, creator 'MMCC', type ASCII, 5565 bytes "appleEventHandlers.c" , at 0x163d 456 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 61 70 70 6c 65 45 | 76 65 6e 74 48 61 6e 64 |..appleE|ventHand|
|00000010| 6c 65 72 73 2e 63 00 00 | 00 00 00 00 00 00 00 00 |lers.c..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 15 bd 00 | 00 01 c8 ab a9 dd ab ab |........|........|
|00000060| a9 dd ab 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 93 0c 00 00 |........|........|
|00000080| 2f 2f 20 49 66 20 74 68 | 65 20 69 6e 74 65 72 66 |// If th|e interf|
|00000090| 61 63 65 73 20 61 72 65 | 6e 27 74 20 69 6e 63 6c |aces are|n't incl|
|000000a0| 75 64 65 64 20 79 65 74 | 2c 20 64 6f 20 74 68 65 |uded yet|, do the|
|000000b0| 20 73 74 61 6e 64 61 72 | 64 20 69 6e 63 6c 75 64 | standar|d includ|
|000000c0| 65 73 2e 20 4f 74 68 65 | 72 77 69 73 65 2c 20 70 |es. Othe|rwise, p|
|000000d0| 72 65 63 6f 6d 70 69 6c | 65 64 20 68 65 61 64 65 |recompil|ed heade|
|000000e0| 72 73 0d 2f 2f 20 68 61 | 76 65 20 62 65 65 6e 20 |rs.// ha|ve been |
|000000f0| 6c 6f 61 64 65 64 20 61 | 6c 72 65 61 64 79 2c 20 |loaded a|lready, |
|00000100| 74 68 61 6e 6b 20 79 6f | 75 20 76 65 72 79 20 6d |thank yo|u very m|
|00000110| 75 63 68 0d 23 69 66 6e | 64 65 66 20 5f 5f 54 59 |uch.#ifn|def __TY|
|00000120| 50 45 53 5f 5f 0d 09 23 | 69 6e 63 6c 75 64 65 20 |PES__..#|include |
|00000130| 3c 54 79 70 65 73 2e 68 | 3e 0d 09 23 69 6e 63 6c |<Types.h|>..#incl|
|00000140| 75 64 65 20 3c 41 70 70 | 6c 65 45 76 65 6e 74 73 |ude <App|leEvents|
|00000150| 2e 68 3e 0d 09 23 69 6e | 63 6c 75 64 65 20 3c 44 |.h>..#in|clude <D|
|00000160| 65 73 6b 2e 68 3e 0d 09 | 23 69 6e 63 6c 75 64 65 |esk.h>..|#include|
|00000170| 20 3c 44 69 61 6c 6f 67 | 73 2e 68 3e 0d 09 23 69 | <Dialog|s.h>..#i|
|00000180| 6e 63 6c 75 64 65 20 3c | 45 64 69 74 69 6f 6e 73 |nclude <|Editions|
|00000190| 2e 68 3e 0d 09 23 69 6e | 63 6c 75 64 65 20 3c 45 |.h>..#in|clude <E|
|000001a0| 76 65 6e 74 73 2e 68 3e | 0d 09 23 69 6e 63 6c 75 |vents.h>|..#inclu|
|000001b0| 64 65 20 3c 4d 65 6e 75 | 73 2e 68 3e 0d 09 23 69 |de <Menu|s.h>..#i|
|000001c0| 6e 63 6c 75 64 65 20 3c | 53 65 67 4c 6f 61 64 2e |nclude <|SegLoad.|
|000001d0| 68 3e 0d 09 23 69 6e 63 | 6c 75 64 65 20 3c 54 65 |h>..#inc|lude <Te|
|000001e0| 78 74 55 74 69 6c 73 2e | 68 3e 0d 09 23 69 6e 63 |xtUtils.|h>..#inc|
|000001f0| 6c 75 64 65 20 3c 54 6f | 6f 6c 55 74 69 6c 73 2e |lude <To|olUtils.|
|00000200| 68 3e 0d 09 23 69 6e 63 | 6c 75 64 65 20 3c 57 69 |h>..#inc|lude <Wi|
|00000210| 6e 64 6f 77 73 2e 68 3e | 0d 23 65 6e 64 69 66 0d |ndows.h>|.#endif.|
|00000220| 0d 23 69 6e 63 6c 75 64 | 65 20 22 46 6c 6f 61 74 |.#includ|e "Float|
|00000230| 65 72 53 61 6d 70 6c 65 | 2e 68 22 0d 23 69 6e 63 |erSample|.h".#inc|
|00000240| 6c 75 64 65 20 22 61 70 | 70 6c 65 45 76 65 6e 74 |lude "ap|pleEvent|
|00000250| 48 61 6e 64 6c 65 72 73 | 2e 68 22 0d 23 69 6e 63 |Handlers|.h".#inc|
|00000260| 6c 75 64 65 20 22 65 76 | 65 6e 74 48 61 6e 64 6c |lude "ev|entHandl|
|00000270| 65 72 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |er.h".#i|nclude "|
|00000280| 66 69 6c 65 4d 65 6e 75 | 52 6f 75 74 69 6e 65 73 |fileMenu|Routines|
|00000290| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 6d 65 |.h".#inc|lude "me|
|000002a0| 6e 75 44 69 73 70 61 74 | 63 68 2e 68 22 0d 0d 2f |nuDispat|ch.h"../|
|000002b0| 2a 09 50 72 69 76 61 74 | 65 20 72 6f 75 74 69 6e |*.Privat|e routin|
|000002c0| 65 73 20 2a 2f 0d 09 0d | 70 61 73 63 61 6c 09 42 |es */...|pascal.B|
|000002d0| 6f 6f 6c 65 61 6e 20 49 | 64 6c 65 50 72 6f 63 28 |oolean I|dleProc(|
|000002e0| 45 76 65 6e 74 52 65 63 | 6f 72 64 20 2a 74 68 65 |EventRec|ord *the|
|000002f0| 45 76 65 6e 74 52 65 63 | 6f 72 64 2c 20 6c 6f 6e |EventRec|ord, lon|
|00000300| 67 20 2a 73 6c 65 65 70 | 54 69 6d 65 2c 20 52 67 |g *sleep|Time, Rg|
|00000310| 6e 48 61 6e 64 6c 65 20 | 2a 6d 6f 75 73 65 52 67 |nHandle |*mouseRg|
|00000320| 6e 29 3b 0d 09 0d 2f 2a | 20 47 6c 6f 62 61 6c 73 |n);.../*| Globals|
|00000330| 20 2a 2f 0d 09 0d 65 78 | 74 65 72 6e 20 42 6f 6f | */...ex|tern Boo|
|00000340| 6c 65 61 6e 09 67 44 6f | 6e 65 3b 09 09 09 09 09 |lean.gDo|ne;.....|
|00000350| 09 09 2f 2a 20 53 65 74 | 20 74 6f 20 74 72 75 65 |../* Set| to true|
|00000360| 20 69 66 20 75 73 65 72 | 20 73 65 6c 65 63 74 73 | if user| selects|
|00000370| 20 51 75 69 74 20 2a 2f | 0d 65 78 74 65 72 6e 20 | Quit */|.extern |
|00000380| 42 6f 6f 6c 65 61 6e 09 | 67 49 6e 42 61 63 6b 67 |Boolean.|gInBackg|
|00000390| 72 6f 75 6e 64 3b 09 09 | 09 09 09 2f 2a 20 53 65 |round;..|.../* Se|
|000003a0| 74 20 74 6f 20 74 72 75 | 65 20 69 66 20 61 70 70 |t to tru|e if app|
|000003b0| 20 69 73 20 73 77 69 74 | 63 68 65 64 20 69 6e 74 | is swit|ched int|
|000003c0| 6f 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 2a 2f 0d |o backgr|ound */.|
|000003d0| 0d 2f 2a 09 48 61 6e 64 | 6c 65 20 74 68 65 20 d4 |./*.Hand|le the .|
|000003e0| 6f 61 70 70 d5 20 41 70 | 70 6c 65 45 76 65 6e 74 |oapp. Ap|pleEvent|
|000003f0| 2e 09 2a 2f 0d 0d 70 61 | 73 63 61 6c 20 4f 53 45 |..*/..pa|scal OSE|
|00000400| 72 72 09 4f 41 50 50 48 | 61 6e 64 6c 65 72 28 41 |rr.OAPPH|andler(A|
|00000410| 70 70 6c 65 45 76 65 6e | 74 20 74 68 65 41 70 70 |ppleEven|t theApp|
|00000420| 6c 65 45 76 65 6e 74 2c | 20 41 70 70 6c 65 45 76 |leEvent,| AppleEv|
|00000430| 65 6e 74 20 72 65 70 6c | 79 2c 20 6c 6f 6e 67 20 |ent repl|y, long |
|00000440| 68 61 6e 64 6c 65 72 52 | 65 66 43 6f 6e 29 0d 7b |handlerR|efCon).{|
|00000450| 0d 23 70 72 61 67 6d 61 | 20 75 6e 75 73 65 64 20 |.#pragma| unused |
|00000460| 28 72 65 70 6c 79 2c 20 | 68 61 6e 64 6c 65 72 52 |(reply, |handlerR|
|00000470| 65 66 43 6f 6e 29 0d 0d | 09 4f 53 45 72 72 09 09 |efCon)..|.OSErr..|
|00000480| 6f 61 70 70 45 72 72 3b | 0d 09 41 45 4b 65 79 77 |oappErr;|..AEKeyw|
|00000490| 6f 72 64 09 6d 69 73 73 | 65 64 4b 65 79 57 6f 72 |ord.miss|edKeyWor|
|000004a0| 64 3b 0d 09 44 65 73 63 | 54 79 70 65 09 61 63 74 |d;..Desc|Type.act|
|000004b0| 75 61 6c 54 79 70 65 3b | 0d 09 53 69 7a 65 09 09 |ualType;|..Size..|
|000004c0| 61 63 74 75 61 6c 53 69 | 7a 65 3b 0d 09 0d 09 2f |actualSi|ze;..../|
|000004d0| 2f 44 65 62 75 67 53 74 | 72 28 22 5c 70 4f 41 50 |/DebugSt|r("\pOAP|
|000004e0| 50 22 29 3b 0d 09 6f 61 | 70 70 45 72 72 20 3d 20 |P");..oa|ppErr = |
|000004f0| 41 45 47 65 74 41 74 74 | 72 69 62 75 74 65 50 74 |AEGetAtt|ributePt|
|00000500| 72 28 26 74 68 65 41 70 | 70 6c 65 45 76 65 6e 74 |r(&theAp|pleEvent|
|00000510| 2c 20 6b 65 79 4d 69 73 | 73 65 64 4b 65 79 77 6f |, keyMis|sedKeywo|
|00000520| 72 64 41 74 74 72 2c 20 | 74 79 70 65 57 69 6c 64 |rdAttr, |typeWild|
|00000530| 43 61 72 64 2c 20 26 61 | 63 74 75 61 6c 54 79 70 |Card, &a|ctualTyp|
|00000540| 65 2c 20 28 50 74 72 29 | 20 26 6d 69 73 73 65 64 |e, (Ptr)| &missed|
|00000550| 4b 65 79 57 6f 72 64 2c | 20 73 69 7a 65 6f 66 28 |KeyWord,| sizeof(|
|00000560| 6d 69 73 73 65 64 4b 65 | 79 57 6f 72 64 29 2c 20 |missedKe|yWord), |
|00000570| 26 61 63 74 75 61 6c 53 | 69 7a 65 29 3b 0d 0d 09 |&actualS|ize);...|
|00000580| 69 66 20 28 21 6f 61 70 | 70 45 72 72 29 09 09 09 |if (!oap|pErr)...|
|00000590| 09 09 2f 2a 20 49 66 20 | 6e 6f 20 65 72 72 6f 72 |../* If |no error|
|000005a0| 2c 20 74 68 65 6e 20 61 | 20 6d 69 73 73 69 6e 67 |, then a| missing|
|000005b0| 20 70 61 72 61 6d 65 74 | 65 72 20 77 61 73 20 66 | paramet|er was f|
|000005c0| 6f 75 6e 64 20 2a 2f 0d | 09 09 72 65 74 75 72 6e |ound */.|..return|
|000005d0| 20 65 72 72 41 45 50 61 | 72 61 6d 4d 69 73 73 65 | errAEPa|ramMisse|
|000005e0| 64 3b 0d 09 0d 09 2f 2a | 09 44 6f 20 77 68 61 74 |d;..../*|.Do what|
|000005f0| 65 76 65 72 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |ever nee|ds to be|
|00000600| 20 64 6f 6e 65 20 77 68 | 65 6e 20 73 74 61 72 74 | done wh|en start|
|00000610| 69 6e 67 20 75 70 20 61 | 6e 64 20 72 65 74 75 72 |ing up a|nd retur|
|00000620| 6e 20 6e 6f 45 72 72 20 | 2a 2f 0d 09 69 66 28 46 |n noErr |*/..if(F|
|00000630| 72 6f 6e 74 4e 6f 6e 46 | 6c 6f 61 74 69 6e 67 57 |rontNonF|loatingW|
|00000640| 69 6e 64 6f 77 28 29 20 | 3d 3d 20 6e 69 6c 29 0d |indow() |== nil).|
|00000650| 09 09 43 72 65 61 74 65 | 4e 65 77 44 6f 63 75 6d |..Create|NewDocum|
|00000660| 65 6e 74 57 69 6e 64 6f | 77 28 29 3b 0d 0d 09 72 |entWindo|w();...r|
|00000670| 65 74 75 72 6e 09 6e 6f | 45 72 72 3b 0d 7d 0d 0d |eturn.no|Err;.}..|
|00000680| 2f 2a 09 48 61 6e 64 6c | 65 20 74 68 65 20 d4 6f |/*.Handl|e the .o|
|00000690| 64 6f 63 d5 20 41 70 70 | 6c 65 45 76 65 6e 74 2e |doc. App|leEvent.|
|000006a0| 09 2a 2f 0d 0d 70 61 73 | 63 61 6c 20 4f 53 45 72 |.*/..pas|cal OSEr|
|000006b0| 72 09 4f 44 4f 43 48 61 | 6e 64 6c 65 72 28 41 70 |r.ODOCHa|ndler(Ap|
|000006c0| 70 6c 65 45 76 65 6e 74 | 20 74 68 65 41 70 70 6c |pleEvent| theAppl|
|000006d0| 65 45 76 65 6e 74 2c 20 | 41 70 70 6c 65 45 76 65 |eEvent, |AppleEve|
|000006e0| 6e 74 20 72 65 70 6c 79 | 2c 20 6c 6f 6e 67 20 68 |nt reply|, long h|
|000006f0| 61 6e 64 6c 65 72 52 65 | 66 43 6f 6e 29 0d 7b 0d |andlerRe|fCon).{.|
|00000700| 23 70 72 61 67 6d 61 20 | 75 6e 75 73 65 64 20 28 |#pragma |unused (|
|00000710| 72 65 70 6c 79 2c 20 68 | 61 6e 64 6c 65 72 52 65 |reply, h|andlerRe|
|00000720| 66 43 6f 6e 29 0d 0d 09 | 4f 53 45 72 72 09 09 09 |fCon)...|OSErr...|
|00000730| 6f 64 6f 63 45 72 72 3b | 0d 09 41 45 4b 65 79 77 |odocErr;|..AEKeyw|
|00000740| 6f 72 64 09 09 6d 69 73 | 73 65 64 4b 65 79 57 6f |ord..mis|sedKeyWo|
|00000750| 72 64 3b 0d 09 44 65 73 | 63 54 79 70 65 09 09 61 |rd;..Des|cType..a|
|00000760| 63 74 75 61 6c 54 79 70 | 65 3b 0d 09 53 69 7a 65 |ctualTyp|e;..Size|
|00000770| 09 09 09 61 63 74 75 61 | 6c 53 69 7a 65 3b 0d 09 |...actua|lSize;..|
|00000780| 41 45 44 65 73 63 4c 69 | 73 74 09 09 64 6f 63 75 |AEDescLi|st..docu|
|00000790| 6d 65 6e 74 4c 69 73 74 | 3b 0d 09 6c 6f 6e 67 09 |mentList|;..long.|
|000007a0| 09 09 69 74 65 6d 73 49 | 6e 4c 69 73 74 3b 0d 09 |..itemsI|nList;..|
|000007b0| 6c 6f 6e 67 09 09 09 69 | 3b 0d 09 41 45 4b 65 79 |long...i|;..AEKey|
|000007c0| 77 6f 72 64 09 09 6b 65 | 79 57 6f 72 64 3b 0d 09 |word..ke|yWord;..|
|000007d0| 44 65 73 63 54 79 70 65 | 09 09 74 79 70 65 43 6f |DescType|..typeCo|
|000007e0| 64 65 3b 0d 09 46 53 53 | 70 65 63 09 09 09 64 6f |de;..FSS|pec...do|
|000007f0| 63 75 6d 65 6e 74 46 69 | 6c 65 53 70 65 63 3b 0d |cumentFi|leSpec;.|
|00000800| 09 54 61 72 67 65 74 49 | 44 09 09 73 65 6e 64 65 |.TargetI|D..sende|
|00000810| 72 54 79 70 65 3b 0d 09 | 4f 53 54 79 70 65 09 09 |rType;..|OSType..|
|00000820| 09 73 65 6e 64 65 72 43 | 72 65 61 74 6f 72 3b 0d |.senderC|reator;.|
|00000830| 09 50 72 6f 63 65 73 73 | 53 65 72 69 61 6c 4e 75 |.Process|SerialNu|
|00000840| 6d 62 65 72 09 74 68 65 | 50 53 4e 3b 0d 09 0d 09 |mber.the|PSN;....|
|00000850| 2f 2f 44 65 62 75 67 53 | 74 72 28 22 5c 70 4f 44 |//DebugS|tr("\pOD|
|00000860| 4f 43 22 29 3b 0d 09 6f | 64 6f 63 45 72 72 20 3d |OC");..o|docErr =|
|00000870| 20 41 45 47 65 74 50 61 | 72 61 6d 44 65 73 63 28 | AEGetPa|ramDesc(|
|00000880| 26 74 68 65 41 70 70 6c | 65 45 76 65 6e 74 2c 20 |&theAppl|eEvent, |
|00000890| 6b 65 79 44 69 72 65 63 | 74 4f 62 6a 65 63 74 2c |keyDirec|tObject,|
|000008a0| 20 74 79 70 65 41 45 4c | 69 73 74 2c 20 26 64 6f | typeAEL|ist, &do|
|000008b0| 63 75 6d 65 6e 74 4c 69 | 73 74 29 3b 09 2f 2a 20 |cumentLi|st);./* |
|000008c0| 47 65 74 20 6c 69 73 74 | 20 6f 66 20 64 6f 63 75 |Get list| of docu|
|000008d0| 6d 65 6e 74 73 20 74 6f | 20 6f 70 65 6e 20 2a 2f |ments to| open */|
|000008e0| 0d 09 69 66 20 28 6f 64 | 6f 63 45 72 72 29 0d 09 |..if (od|ocErr)..|
|000008f0| 09 72 65 74 75 72 6e 20 | 6f 64 6f 63 45 72 72 3b |.return |odocErr;|
|00000900| 0d 09 09 0d 09 6f 64 6f | 63 45 72 72 20 3d 20 41 |.....odo|cErr = A|
|00000910| 45 47 65 74 41 74 74 72 | 69 62 75 74 65 50 74 72 |EGetAttr|ibutePtr|
|00000920| 28 26 74 68 65 41 70 70 | 6c 65 45 76 65 6e 74 2c |(&theApp|leEvent,|
|00000930| 20 6b 65 79 4d 69 73 73 | 65 64 4b 65 79 77 6f 72 | keyMiss|edKeywor|
|00000940| 64 41 74 74 72 2c 20 74 | 79 70 65 57 69 6c 64 43 |dAttr, t|ypeWildC|
|00000950| 61 72 64 2c 20 26 61 63 | 74 75 61 6c 54 79 70 65 |ard, &ac|tualType|
|00000960| 2c 20 28 50 74 72 29 20 | 26 6d 69 73 73 65 64 4b |, (Ptr) |&missedK|
|00000970| 65 79 57 6f 72 64 2c 20 | 73 69 7a 65 6f 66 28 6d |eyWord, |sizeof(m|
|00000980| 69 73 73 65 64 4b 65 79 | 57 6f 72 64 29 2c 20 26 |issedKey|Word), &|
|00000990| 61 63 74 75 61 6c 53 69 | 7a 65 29 3b 0d 0d 09 69 |actualSi|ze);...i|
|000009a0| 66 20 28 21 6f 64 6f 63 | 45 72 72 29 09 09 09 09 |f (!odoc|Err)....|
|000009b0| 09 2f 2a 20 49 66 20 6e | 6f 20 65 72 72 6f 72 2c |./* If n|o error,|
|000009c0| 20 74 68 65 6e 20 61 20 | 6d 69 73 73 69 6e 67 20 | then a |missing |
|000009d0| 70 61 72 61 6d 65 74 65 | 72 20 77 61 73 20 66 6f |paramete|r was fo|
|000009e0| 75 6e 64 20 2a 2f 0d 09 | 09 72 65 74 75 72 6e 20 |und */..|.return |
|000009f0| 65 72 72 41 45 50 61 72 | 61 6d 4d 69 73 73 65 64 |errAEPar|amMissed|
|00000a00| 3b 0d 09 0d 09 2f 2a 20 | 0d 09 09 49 66 20 77 65 |;..../* |...If we|
|00000a10| d5 72 65 20 69 6e 20 74 | 68 65 20 62 61 63 6b 67 |.re in t|he backg|
|00000a20| 72 6f 75 6e 64 2c 20 73 | 65 65 20 69 66 20 74 68 |round, s|ee if th|
|00000a30| 65 20 65 76 65 6e 74 20 | 77 61 73 20 73 65 6e 74 |e event |was sent|
|00000a40| 20 66 72 6f 6d 20 74 68 | 65 20 46 69 6e 64 65 72 | from th|e Finder|
|00000a50| 2e 20 20 49 66 20 73 6f | 2c 0d 09 09 73 77 69 74 |. If so|,...swit|
|00000a60| 63 68 20 74 6f 20 74 68 | 65 20 66 72 6f 6e 74 2e |ch to th|e front.|
|00000a70| 0d 09 2a 2f 0d 09 0d 09 | 69 66 20 28 67 49 6e 42 |..*/....|if (gInB|
|00000a80| 61 63 6b 67 72 6f 75 6e | 64 29 20 7b 0d 09 09 6f |ackgroun|d) {...o|
|00000a90| 64 6f 63 45 72 72 20 3d | 20 41 45 47 65 74 41 74 |docErr =| AEGetAt|
|00000aa0| 74 72 69 62 75 74 65 50 | 74 72 28 26 74 68 65 41 |tributeP|tr(&theA|
|00000ab0| 70 70 6c 65 45 76 65 6e | 74 2c 20 6b 65 79 41 64 |ppleEven|t, keyAd|
|00000ac0| 64 72 65 73 73 41 74 74 | 72 2c 20 74 79 70 65 54 |dressAtt|r, typeT|
|00000ad0| 61 72 67 65 74 49 44 2c | 20 26 61 63 74 75 61 6c |argetID,| &actual|
|00000ae0| 54 79 70 65 2c 20 28 50 | 74 72 29 20 26 73 65 6e |Type, (P|tr) &sen|
|00000af0| 64 65 72 54 79 70 65 2c | 20 73 69 7a 65 6f 66 28 |derType,| sizeof(|
|00000b00| 73 65 6e 64 65 72 54 79 | 70 65 29 2c 20 26 61 63 |senderTy|pe), &ac|
|00000b10| 74 75 61 6c 53 69 7a 65 | 29 3b 0d 09 09 42 6c 6f |tualSize|);...Blo|
|00000b20| 63 6b 4d 6f 76 65 28 28 | 50 74 72 29 20 28 26 28 |ckMove((|Ptr) (&(|
|00000b30| 73 65 6e 64 65 72 54 79 | 70 65 2e 6e 61 6d 65 2e |senderTy|pe.name.|
|00000b40| 75 2e 70 6f 72 74 54 79 | 70 65 53 74 72 29 2b 31 |u.portTy|peStr)+1|
|00000b50| 29 2c 20 28 50 74 72 29 | 20 26 28 73 65 6e 64 65 |), (Ptr)| &(sende|
|00000b60| 72 43 72 65 61 74 6f 72 | 29 2c 20 34 29 3b 0d 09 |rCreator|), 4);..|
|00000b70| 09 69 66 20 28 73 65 6e | 64 65 72 43 72 65 61 74 |.if (sen|derCreat|
|00000b80| 6f 72 20 3d 3d 20 27 4d | 41 43 53 27 29 20 7b 0d |or == 'M|ACS') {.|
|00000b90| 09 09 09 74 68 65 50 53 | 4e 2e 68 69 67 68 4c 6f |...thePS|N.highLo|
|00000ba0| 6e 67 4f 66 50 53 4e 20 | 3d 20 30 3b 0d 09 09 09 |ngOfPSN |= 0;....|
|00000bb0| 74 68 65 50 53 4e 2e 6c | 6f 77 4c 6f 6e 67 4f 66 |thePSN.l|owLongOf|
|00000bc0| 50 53 4e 20 3d 20 6b 43 | 75 72 72 65 6e 74 50 72 |PSN = kC|urrentPr|
|00000bd0| 6f 63 65 73 73 3b 0d 09 | 09 09 53 65 74 46 72 6f |ocess;..|..SetFro|
|00000be0| 6e 74 50 72 6f 63 65 73 | 73 28 26 74 68 65 50 53 |ntProces|s(&thePS|
|00000bf0| 4e 29 3b 0d 09 09 7d 0d | 09 7d 0d 0d 09 2f 2a 20 |N);...}.|.}.../* |
|00000c00| 4f 70 65 6e 20 61 6c 6c | 20 74 68 65 20 64 6f 63 |Open all| the doc|
|00000c10| 75 6d 65 6e 74 73 20 69 | 6e 20 64 6f 63 75 6d 65 |uments i|n docume|
|00000c20| 6e 74 4c 69 73 74 20 2a | 2f 0d 09 0d 09 6f 64 6f |ntList *|/....odo|
|00000c30| 63 45 72 72 20 3d 20 41 | 45 43 6f 75 6e 74 49 74 |cErr = A|ECountIt|
|00000c40| 65 6d 73 28 26 64 6f 63 | 75 6d 65 6e 74 4c 69 73 |ems(&doc|umentLis|
|00000c50| 74 2c 20 26 69 74 65 6d | 73 49 6e 4c 69 73 74 29 |t, &item|sInList)|
|00000c60| 3b 09 09 2f 2a 20 47 65 | 74 20 6e 75 6d 62 65 72 |;../* Ge|t number|
|00000c70| 20 6f 66 20 64 6f 63 75 | 6d 65 6e 74 73 20 2a 2f | of docu|ments */|
|00000c80| 0d 09 0d 09 66 6f 72 20 | 28 69 20 3d 20 31 3b 20 |....for |(i = 1; |
|00000c90| 69 20 3c 3d 20 69 74 65 | 6d 73 49 6e 4c 69 73 74 |i <= ite|msInList|
|00000ca0| 3b 20 69 2b 2b 29 20 7b | 0d 09 09 6f 64 6f 63 45 |; i++) {|...odocE|
|00000cb0| 72 72 20 3d 20 41 45 47 | 65 74 4e 74 68 50 74 72 |rr = AEG|etNthPtr|
|00000cc0| 28 26 64 6f 63 75 6d 65 | 6e 74 4c 69 73 74 2c 20 |(&docume|ntList, |
|00000cd0| 69 2c 20 74 79 70 65 46 | 53 53 2c 20 26 6b 65 79 |i, typeF|SS, &key|
|00000ce0| 57 6f 72 64 2c 20 26 74 | 79 70 65 43 6f 64 65 2c |Word, &t|ypeCode,|
|00000cf0| 20 28 50 74 72 29 20 26 | 64 6f 63 75 6d 65 6e 74 | (Ptr) &|document|
|00000d00| 46 69 6c 65 53 70 65 63 | 2c 20 73 69 7a 65 6f 66 |FileSpec|, sizeof|
|00000d10| 28 64 6f 63 75 6d 65 6e | 74 46 69 6c 65 53 70 65 |(documen|tFileSpe|
|00000d20| 63 29 2c 20 26 61 63 74 | 75 61 6c 53 69 7a 65 29 |c), &act|ualSize)|
|00000d30| 3b 0d 09 09 44 6f 4f 70 | 65 6e 46 69 6c 65 28 26 |;...DoOp|enFile(&|
|00000d40| 64 6f 63 75 6d 65 6e 74 | 46 69 6c 65 53 70 65 63 |document|FileSpec|
|00000d50| 29 3b 0d 09 7d 0d 09 09 | 0d 09 6f 64 6f 63 45 72 |);..}...|..odocEr|
|00000d60| 72 20 3d 20 41 45 44 69 | 73 70 6f 73 65 44 65 73 |r = AEDi|sposeDes|
|00000d70| 63 28 26 64 6f 63 75 6d | 65 6e 74 4c 69 73 74 29 |c(&docum|entList)|
|00000d80| 3b 09 09 09 2f 2a 20 44 | 69 73 70 6f 73 65 20 6f |;.../* D|ispose o|
|00000d90| 66 20 41 45 20 73 74 72 | 75 63 74 75 72 65 20 63 |f AE str|ucture c|
|00000da0| 72 65 61 74 65 64 20 62 | 79 20 41 45 47 65 74 50 |reated b|y AEGetP|
|00000db0| 61 72 61 6d 44 65 73 63 | 20 2a 2f 0d 09 72 65 74 |aramDesc| */..ret|
|00000dc0| 75 72 6e 09 6e 6f 45 72 | 72 3b 0d 7d 0d 0d 2f 2a |urn.noEr|r;.}../*|
|00000dd0| 09 48 61 6e 64 6c 65 20 | 74 68 65 20 d4 70 64 6f |.Handle |the .pdo|
|00000de0| 63 d5 20 41 70 70 6c 65 | 45 76 65 6e 74 2e 09 2a |c. Apple|Event..*|
|00000df0| 2f 0d 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 09 |/..pasca|l OSErr.|
|00000e00| 50 44 4f 43 48 61 6e 64 | 6c 65 72 28 41 70 70 6c |PDOCHand|ler(Appl|
|00000e10| 65 45 76 65 6e 74 20 74 | 68 65 41 70 70 6c 65 45 |eEvent t|heAppleE|
|00000e20| 76 65 6e 74 2c 20 41 70 | 70 6c 65 45 76 65 6e 74 |vent, Ap|pleEvent|
|00000e30| 20 72 65 70 6c 79 2c 20 | 6c 6f 6e 67 20 68 61 6e | reply, |long han|
|00000e40| 64 6c 65 72 52 65 66 43 | 6f 6e 29 0d 7b 0d 23 70 |dlerRefC|on).{.#p|
|00000e50| 72 61 67 6d 61 20 75 6e | 75 73 65 64 20 28 72 65 |ragma un|used (re|
|00000e60| 70 6c 79 2c 20 68 61 6e | 64 6c 65 72 52 65 66 43 |ply, han|dlerRefC|
|00000e70| 6f 6e 29 0d 0d 09 4f 53 | 45 72 72 09 09 70 64 6f |on)...OS|Err..pdo|
|00000e80| 63 45 72 72 3b 0d 09 41 | 45 4b 65 79 77 6f 72 64 |cErr;..A|EKeyword|
|00000e90| 09 6d 69 73 73 65 64 4b | 65 79 57 6f 72 64 3b 0d |.missedK|eyWord;.|
|00000ea0| 09 44 65 73 63 54 79 70 | 65 09 61 63 74 75 61 6c |.DescTyp|e.actual|
|00000eb0| 54 79 70 65 3b 0d 09 53 | 69 7a 65 09 09 61 63 74 |Type;..S|ize..act|
|00000ec0| 75 61 6c 53 69 7a 65 3b | 0d 09 41 45 44 65 73 63 |ualSize;|..AEDesc|
|00000ed0| 4c 69 73 74 09 64 6f 63 | 75 6d 65 6e 74 4c 69 73 |List.doc|umentLis|
|00000ee0| 74 3b 0d 09 6c 6f 6e 67 | 09 09 69 74 65 6d 73 49 |t;..long|..itemsI|
|00000ef0| 6e 4c 69 73 74 3b 0d 09 | 6c 6f 6e 67 09 09 69 3b |nList;..|long..i;|
|00000f00| 0d 09 41 45 4b 65 79 77 | 6f 72 64 09 6b 65 79 57 |..AEKeyw|ord.keyW|
|00000f10| 6f 72 64 3b 0d 09 44 65 | 73 63 54 79 70 65 09 74 |ord;..De|scType.t|
|00000f20| 79 70 65 43 6f 64 65 3b | 0d 09 46 53 53 70 65 63 |ypeCode;|..FSSpec|
|00000f30| 09 09 64 6f 63 75 6d 65 | 6e 74 46 69 6c 65 53 70 |..docume|ntFileSp|
|00000f40| 65 63 3b 0d 09 0d 09 70 | 64 6f 63 45 72 72 20 3d |ec;....p|docErr =|
|00000f50| 20 41 45 47 65 74 50 61 | 72 61 6d 44 65 73 63 28 | AEGetPa|ramDesc(|
|00000f60| 26 74 68 65 41 70 70 6c | 65 45 76 65 6e 74 2c 20 |&theAppl|eEvent, |
|00000f70| 6b 65 79 44 69 72 65 63 | 74 4f 62 6a 65 63 74 2c |keyDirec|tObject,|
|00000f80| 20 74 79 70 65 41 45 4c | 69 73 74 2c 20 26 64 6f | typeAEL|ist, &do|
|00000f90| 63 75 6d 65 6e 74 4c 69 | 73 74 29 3b 09 2f 2a 20 |cumentLi|st);./* |
|00000fa0| 47 65 74 20 6c 69 73 74 | 20 6f 66 20 64 6f 63 75 |Get list| of docu|
|00000fb0| 6d 65 6e 74 73 20 74 6f | 20 6f 70 65 6e 20 2a 2f |ments to| open */|
|00000fc0| 0d 09 0d 09 70 64 6f 63 | 45 72 72 20 3d 20 41 45 |....pdoc|Err = AE|
|00000fd0| 47 65 74 41 74 74 72 69 | 62 75 74 65 50 74 72 28 |GetAttri|butePtr(|
|00000fe0| 26 74 68 65 41 70 70 6c | 65 45 76 65 6e 74 2c 20 |&theAppl|eEvent, |
|00000ff0| 6b 65 79 4d 69 73 73 65 | 64 4b 65 79 77 6f 72 64 |keyMisse|dKeyword|
|00001000| 41 74 74 72 2c 20 74 79 | 70 65 57 69 6c 64 43 61 |Attr, ty|peWildCa|
|00001010| 72 64 2c 20 26 61 63 74 | 75 61 6c 54 79 70 65 2c |rd, &act|ualType,|
|00001020| 20 28 50 74 72 29 20 26 | 6d 69 73 73 65 64 4b 65 | (Ptr) &|missedKe|
|00001030| 79 57 6f 72 64 2c 20 73 | 69 7a 65 6f 66 28 6d 69 |yWord, s|izeof(mi|
|00001040| 73 73 65 64 4b 65 79 57 | 6f 72 64 29 2c 20 26 61 |ssedKeyW|ord), &a|
|00001050| 63 74 75 61 6c 53 69 7a | 65 29 3b 0d 0d 09 69 66 |ctualSiz|e);...if|
|00001060| 20 28 21 70 64 6f 63 45 | 72 72 29 09 09 09 09 09 | (!pdocE|rr).....|
|00001070| 2f 2a 20 49 66 20 6e 6f | 20 65 72 72 6f 72 2c 20 |/* If no| error, |
|00001080| 74 68 65 6e 20 61 20 6d | 69 73 73 69 6e 67 20 70 |then a m|issing p|
|00001090| 61 72 61 6d 65 74 65 72 | 20 77 61 73 20 66 6f 75 |arameter| was fou|
|000010a0| 6e 64 20 2a 2f 0d 09 09 | 72 65 74 75 72 6e 20 65 |nd */...|return e|
|000010b0| 72 72 41 45 50 61 72 61 | 6d 4d 69 73 73 65 64 3b |rrAEPara|mMissed;|
|000010c0| 0d 09 0d 09 2f 2a 20 50 | 72 69 6e 74 20 61 6c 6c |..../* P|rint all|
|000010d0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 73 20 69 | the doc|uments i|
|000010e0| 6e 20 64 6f 63 75 6d 65 | 6e 74 4c 69 73 74 20 2a |n docume|ntList *|
|000010f0| 2f 0d 09 0d 09 70 64 6f | 63 45 72 72 20 3d 20 41 |/....pdo|cErr = A|
|00001100| 45 43 6f 75 6e 74 49 74 | 65 6d 73 28 26 64 6f 63 |ECountIt|ems(&doc|
|00001110| 75 6d 65 6e 74 4c 69 73 | 74 2c 20 26 69 74 65 6d |umentLis|t, &item|
|00001120| 73 49 6e 4c 69 73 74 29 | 3b 09 09 2f 2a 20 47 65 |sInList)|;../* Ge|
|00001130| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 64 6f 63 75 |t number| of docu|
|00001140| 6d 65 6e 74 73 20 2a 2f | 0d 09 0d 09 66 6f 72 20 |ments */|....for |
|00001150| 28 69 20 3d 20 31 3b 20 | 69 20 3c 3d 20 69 74 65 |(i = 1; |i <= ite|
|00001160| 6d 73 49 6e 4c 69 73 74 | 3b 20 69 2b 2b 29 20 7b |msInList|; i++) {|
|00001170| 0d 09 09 70 64 6f 63 45 | 72 72 20 3d 20 41 45 47 |...pdocE|rr = AEG|
|00001180| 65 74 4e 74 68 50 74 72 | 28 26 64 6f 63 75 6d 65 |etNthPtr|(&docume|
|00001190| 6e 74 4c 69 73 74 2c 20 | 69 2c 20 74 79 70 65 46 |ntList, |i, typeF|
|000011a0| 53 53 2c 20 26 6b 65 79 | 57 6f 72 64 2c 20 26 74 |SS, &key|Word, &t|
|000011b0| 79 70 65 43 6f 64 65 2c | 20 28 50 74 72 29 20 26 |ypeCode,| (Ptr) &|
|000011c0| 64 6f 63 75 6d 65 6e 74 | 46 69 6c 65 53 70 65 63 |document|FileSpec|
|000011d0| 2c 20 73 69 7a 65 6f 66 | 28 64 6f 63 75 6d 65 6e |, sizeof|(documen|
|000011e0| 74 46 69 6c 65 53 70 65 | 63 29 2c 20 26 61 63 74 |tFileSpe|c), &act|
|000011f0| 75 61 6c 53 69 7a 65 29 | 3b 0d 09 09 44 6f 50 72 |ualSize)|;...DoPr|
|00001200| 69 6e 74 46 69 6c 65 28 | 26 64 6f 63 75 6d 65 6e |intFile(|&documen|
|00001210| 74 46 69 6c 65 53 70 65 | 63 29 3b 0d 09 7d 0d 09 |tFileSpe|c);..}..|
|00001220| 09 0d 09 70 64 6f 63 45 | 72 72 20 3d 20 41 45 44 |...pdocE|rr = AED|
|00001230| 69 73 70 6f 73 65 44 65 | 73 63 28 26 64 6f 63 75 |isposeDe|sc(&docu|
|00001240| 6d 65 6e 74 4c 69 73 74 | 29 3b 09 09 09 09 09 2f |mentList|);...../|
|00001250| 2a 20 44 69 73 70 6f 73 | 65 20 6f 66 20 41 45 20 |* Dispos|e of AE |
|00001260| 73 74 72 75 63 74 75 72 | 65 20 63 72 65 61 74 65 |structur|e create|
|00001270| 64 20 62 79 20 41 45 47 | 65 74 50 61 72 61 6d 44 |d by AEG|etParamD|
|00001280| 65 73 63 20 2a 2f 0d 09 | 72 65 74 75 72 6e 09 6e |esc */..|return.n|
|00001290| 6f 45 72 72 3b 0d 7d 0d | 0d 2f 2a 09 48 61 6e 64 |oErr;.}.|./*.Hand|
|000012a0| 6c 65 20 74 68 65 20 d4 | 71 75 69 74 d5 20 41 70 |le the .|quit. Ap|
|000012b0| 70 6c 65 45 76 65 6e 74 | 2e 09 2a 2f 0d 0d 70 61 |pleEvent|..*/..pa|
|000012c0| 73 63 61 6c 20 4f 53 45 | 72 72 09 51 55 49 54 48 |scal OSE|rr.QUITH|
|000012d0| 61 6e 64 6c 65 72 28 41 | 70 70 6c 65 45 76 65 6e |andler(A|ppleEven|
|000012e0| 74 20 74 68 65 41 70 70 | 6c 65 45 76 65 6e 74 2c |t theApp|leEvent,|
|000012f0| 20 41 70 70 6c 65 45 76 | 65 6e 74 20 72 65 70 6c | AppleEv|ent repl|
|00001300| 79 2c 20 6c 6f 6e 67 20 | 68 61 6e 64 6c 65 72 52 |y, long |handlerR|
|00001310| 65 66 43 6f 6e 29 0d 7b | 0d 23 70 72 61 67 6d 61 |efCon).{|.#pragma|
|00001320| 20 75 6e 75 73 65 64 20 | 28 72 65 70 6c 79 2c 20 | unused |(reply, |
|00001330| 68 61 6e 64 6c 65 72 52 | 65 66 43 6f 6e 29 0d 0d |handlerR|efCon)..|
|00001340| 09 4f 53 45 72 72 09 09 | 71 75 69 74 45 72 72 3b |.OSErr..|quitErr;|
|00001350| 0d 09 41 45 4b 65 79 77 | 6f 72 64 09 6d 69 73 73 |..AEKeyw|ord.miss|
|00001360| 65 64 4b 65 79 57 6f 72 | 64 3b 0d 09 44 65 73 63 |edKeyWor|d;..Desc|
|00001370| 54 79 70 65 09 61 63 74 | 75 61 6c 54 79 70 65 3b |Type.act|ualType;|
|00001380| 0d 09 53 69 7a 65 09 09 | 61 63 74 75 61 6c 53 69 |..Size..|actualSi|
|00001390| 7a 65 3b 0d 09 0d 09 71 | 75 69 74 45 72 72 20 3d |ze;....q|uitErr =|
|000013a0| 20 41 45 47 65 74 41 74 | 74 72 69 62 75 74 65 50 | AEGetAt|tributeP|
|000013b0| 74 72 28 26 74 68 65 41 | 70 70 6c 65 45 76 65 6e |tr(&theA|ppleEven|
|000013c0| 74 2c 20 6b 65 79 4d 69 | 73 73 65 64 4b 65 79 77 |t, keyMi|ssedKeyw|
|000013d0| 6f 72 64 41 74 74 72 2c | 20 74 79 70 65 57 69 6c |ordAttr,| typeWil|
|000013e0| 64 43 61 72 64 2c 20 26 | 61 63 74 75 61 6c 54 79 |dCard, &|actualTy|
|000013f0| 70 65 2c 20 28 50 74 72 | 29 20 26 6d 69 73 73 65 |pe, (Ptr|) &misse|
|00001400| 64 4b 65 79 57 6f 72 64 | 2c 20 73 69 7a 65 6f 66 |dKeyWord|, sizeof|
|00001410| 28 6d 69 73 73 65 64 4b | 65 79 57 6f 72 64 29 2c |(missedK|eyWord),|
|00001420| 20 26 61 63 74 75 61 6c | 53 69 7a 65 29 3b 0d 0d | &actual|Size);..|
|00001430| 09 69 66 20 28 21 71 75 | 69 74 45 72 72 29 09 09 |.if (!qu|itErr)..|
|00001440| 09 09 09 2f 2a 20 49 66 | 20 6e 6f 20 65 72 72 6f |.../* If| no erro|
|00001450| 72 2c 20 74 68 65 6e 20 | 61 20 6d 69 73 73 69 6e |r, then |a missin|
|00001460| 67 20 70 61 72 61 6d 65 | 74 65 72 20 77 61 73 20 |g parame|ter was |
|00001470| 66 6f 75 6e 64 20 2a 2f | 0d 09 09 72 65 74 75 72 |found */|...retur|
|00001480| 6e 20 65 72 72 41 45 50 | 61 72 61 6d 4d 69 73 73 |n errAEP|aramMiss|
|00001490| 65 64 3b 0d 09 0d 09 2f | 2a 09 44 6f 20 77 68 61 |ed;..../|*.Do wha|
|000014a0| 74 65 76 65 72 20 6e 65 | 65 64 73 20 74 6f 20 62 |tever ne|eds to b|
|000014b0| 65 20 64 6f 6e 65 20 77 | 68 65 6e 20 71 75 69 74 |e done w|hen quit|
|000014c0| 74 69 6e 67 20 61 6e 64 | 20 72 65 74 75 72 6e 20 |ting and| return |
|000014d0| 6e 6f 45 72 72 20 2a 2f | 0d 09 0d 09 67 44 6f 6e |noErr */|....gDon|
|000014e0| 65 20 3d 20 74 72 75 65 | 3b 09 0d 09 72 65 74 75 |e = true|;...retu|
|000014f0| 72 6e 09 6e 6f 45 72 72 | 3b 0d 7d 0d 0d 70 61 73 |rn.noErr|;.}..pas|
|00001500| 63 61 6c 09 42 6f 6f 6c | 65 61 6e 20 49 64 6c 65 |cal.Bool|ean Idle|
|00001510| 50 72 6f 63 28 45 76 65 | 6e 74 52 65 63 6f 72 64 |Proc(Eve|ntRecord|
|00001520| 20 2a 74 68 65 45 76 65 | 6e 74 52 65 63 6f 72 64 | *theEve|ntRecord|
|00001530| 2c 20 6c 6f 6e 67 20 2a | 73 6c 65 65 70 54 69 6d |, long *|sleepTim|
|00001540| 65 2c 20 52 67 6e 48 61 | 6e 64 6c 65 20 2a 6d 6f |e, RgnHa|ndle *mo|
|00001550| 75 73 65 52 67 6e 29 0d | 7b 09 0d 09 73 77 69 74 |useRgn).|{...swit|
|00001560| 63 68 20 28 74 68 65 45 | 76 65 6e 74 52 65 63 6f |ch (theE|ventReco|
|00001570| 72 64 2d 3e 77 68 61 74 | 29 20 7b 0d 09 09 63 61 |rd->what|) {...ca|
|00001580| 73 65 20 75 70 64 61 74 | 65 45 76 74 3a 0d 09 09 |se updat|eEvt:...|
|00001590| 63 61 73 65 20 61 63 74 | 69 76 61 74 65 45 76 74 |case act|ivateEvt|
|000015a0| 3a 0d 09 09 63 61 73 65 | 20 6f 73 45 76 74 3a 09 |:...case| osEvt:.|
|000015b0| 09 09 48 61 6e 64 6c 65 | 45 76 65 6e 74 28 74 68 |..Handle|Event(th|
|000015c0| 65 45 76 65 6e 74 52 65 | 63 6f 72 64 29 3b 0d 09 |eEventRe|cord);..|
|000015d0| 09 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 63 |......br|eak;...c|
|000015e0| 61 73 65 20 6e 75 6c 6c | 45 76 65 6e 74 3a 09 09 |ase null|Event:..|
|000015f0| 2a 6d 6f 75 73 65 52 67 | 6e 20 3d 20 6e 69 6c 3b |*mouseRg|n = nil;|
|00001600| 0d 09 09 09 09 09 09 09 | 2a 73 6c 65 65 70 54 69 |........|*sleepTi|
|00001610| 6d 65 20 3d 20 31 35 3b | 0d 09 09 09 09 09 09 09 |me = 15;|........|
|00001620| 62 72 65 61 6b 3b 0d 09 | 7d 0d 09 72 65 74 75 72 |break;..|}..retur|
|00001630| 6e 20 66 61 6c 73 65 3b | 0d 7d 0d 0d 0d 00 00 00 |n false;|.}......|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00001690| 01 fa 6e 57 02 ff d2 a9 | 8e 20 30 01 a0 2a 20 46 |..nW....|. 0..* F|
|000016a0| cd 5d c7 13 a9 e7 2f 2e | ff fc 02 a9 15 42 06 20 |.]..../.|.....B. |
|000016b0| 14 61 70 70 6c 65 45 76 | 65 6e 74 48 61 6e 64 6c |.appleEv|entHandl|
|000016c0| 65 72 73 2e 63 76 02 00 | 00 00 54 45 58 54 4d 4d |ers.cv..|..TEXTMM|
|000016d0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 a3 8c 97 8f 00 00 | 15 bd 00 00 01 c8 4c 01 |........|......L.|
|00001700| fa 28 15 1c 1f 1f 3c 00 | 01 2f 0e 4e ba 03 fd c2 |.(....<.|./.N....|
|00001710| 60 34 7c 01 5a cd 4c 02 | f3 ae 60 28 e1 20 21 01 |`4|.Z.L.|..`(. !.|
|00001720| fd ac e1 5a cd 4c 01 f6 | c6 20 66 01 fd 96 f7 5a |...Z.L..|. f....Z|
|00001730| cd 4c 01 f9 54 7d 20 4f | 20 4e 03 66 0e 72 02 b2 |.L..T} O| N.f.r..|
|00001740| 6e b6 30 01 80 01 80 01 | ff 46 7d 20 4f 03 66 1c |n.0.....|.F} O.f.|
|00001750| 10 06 67 26 99 02 46 49 | 4c 45 5d 01 00 80 e5 03 |..g&..FI|LE].....|
|00001760| 00 36 2f 2d f8 fa 4c 02 | e7 60 60 0e 20 30 04 a0 |.6/-..L.|.``. 0..|
|00001770| 23 2b 6e ff c0 f8 fa 5a | cd 5d 92 20 65 01 a9 83 |#+n....Z|.]. e...|
|00001780| 00 00 00 1e 00 50 00 20 | 01 dd 02 3d 00 50 00 20 |.....P. |...=.P. |
|00001790| 01 dd 02 3d 00 00 00 00 | 00 00 00 00 00 00 00 00 |...=....|........|
|000017a0| 00 00 00 00 00 48 00 0a | 43 6f 75 72 69 65 72 00 |.....H..|Courier.|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 47 00 06 |........|.....G..|
|000017d0| 01 d6 02 65 00 47 00 06 | 01 d6 02 65 ac 15 e3 c0 |...e.G..|...e....|
|000017e0| 00 00 01 ab 00 00 01 b0 | 00 00 00 94 01 00 00 00 |........|........|
|000017f0| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00001800| 00 76 00 00 00 52 01 30 | 58 08 23 a0 00 00 00 1c |.v...R.0|X.#.....|
|00001810| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|00001820| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|00001830| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|00001840| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+